chore: add PR/issue template validation skills and fix CLAUDE.md drift#46
Merged
Conversation
Restructure pr-template-validation.md and issue-template-validation.md into <name>/SKILL.md directories so they're auto-discovered, reference them from CLAUDE.md, and correct CLAUDE.md claims that had drifted from the codebase (broken test path, nonexistent Log API methods, missing exception classes).
amannocci
marked this pull request as ready for review
July 15, 2026 09:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧑💻What is the change being made?
pr-template-validationandissue-template-validationskills as<name>/SKILL.mddirectories, the layout Claude Code requires for auto-discovery..claude/CLAUDE.mdthat routesgh pr create/gh issue createthrough the corresponding validation skill..claude/CLAUDE.md: the single-test example now points attests/it/test_process.py::TestCommand::test_empty(the oldtests/it/test_resources.pypath doesn't exist), theLogclass method list matches the real API (Log.action,Log.success,Log.failure,Log.fatal), and the exception list now includesExplainedError,ManifestError,RunbookError, andMissingRunbookError, which were previously omitted.❓ Why is the change being made?
Skills only auto-load from
<name>/SKILL.md, so these needed that layout to actually trigger. Separately, auditing CLAUDE.md against the source surfaced examples and API references that no longer matched the code, which would mislead future sessions relying on it.✅ How has this been tested?
Confirmed both skill directories have valid frontmatter and load correctly. Cross-checked every corrected CLAUDE.md claim against current source:
src/terranova/exceptions.py,src/terranova/utils.py, andtests/it/.📚 How has this been documented?
This PR is the documentation update itself.